/*
 * @Author: YYJ
 * @Date: 2023-12-16 15:25:41
 * @Description: 
 * @FilePath: \lgd-admin\src\pages\404.tsx
 */
import { history,} from '@umijs/max';
import { Button, Result } from 'antd';
import React from 'react';

const NoFoundPage: React.FC = () => (
  <Result
    status="404"
    title="404"
    subTitle="404"
    extra={
      <Button type="primary" onClick={() => history.push('/')}>
        pages.404.buttonText
      </Button>
    }
  />
);

export default NoFoundPage;
